//
//  IDOBaseChartViewController.h
//  IDOCharts
//
//  Created by 卓勇 on 2017/8/16.
//  Copyright © 2017年 zhuoyong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Charts/Charts-Swift.h>
#import "IDOCharts-Swift.h"

#define KRGBColor(R, G, B)       [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:1.0]
#define KRGBPColor(R, G, B, P)   [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:P]
#define KHEXColor(HEX)           [UIColor colorWithRed:((float)((HEX & 0xFF0000) >> 16))/255.0 green:((float)((HEX & 0xFF00) >> 8))/255.0 blue:((float)(HEX & 0xFF))/255.0 alpha:1.0]

#define KDefaultBackgroundColor KHEXColor(0xf4f4f4)

#define KUIScreenWidth [UIScreen mainScreen].bounds.size.width
#define KUIScreenHeight [UIScreen mainScreen].bounds.size.height
#define KUIScreenScale (KUIScreenWidth / 375.0)
#define KScale(width) ((width) * KUIScreenScale)


@interface IDOBaseChartViewController : UIViewController

@end
